home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4741 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.8 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help with Curses!
  5. Date: Tue, 06 Feb 96 17:45:24 GMT
  6. Organization: none
  7. Distribution: world
  8. Message-ID: <823628724snz@genesis.demon.co.uk>
  9. References: <4emcp8$3i5@lugb.latrobe.edu.au> <4eo0eoINN2e6@keats.ugrad.cs.ubc.ca> <4eubqe$ge7@stork.qut.edu.au>
  10. Reply-To: fred@genesis.demon.co.uk
  11. X-NNTP-Posting-Host: genesis.demon.co.uk
  12. X-Newsreader: Demon Internet Simple News v1.27
  13. X-Mail2News-Path: genesis.demon.co.uk
  14.  
  15. In article <4eubqe$ge7@stork.qut.edu.au>
  16.            M.Hessling@qut.edu.au "hessling mark " writes:
  17.  
  18. >Kazimir Kylheku (c2a192@ugrad.cs.ubc.ca) wrote:
  19. >: In article <4emcp8$3i5@lugb.latrobe.edu.au>,
  20. >: Marcus Crafter <ccmrc@luxor.latrobe.edu.au> wrote:
  21. >:  >
  22. >:  >Hi There !
  23. >:  >
  24. >:  >    I am working on writing a curses application at the moment,
  25. >:  >    but I can't seem to set the background of a curses based window
  26. >:  >    regardless of what I try. Here is the code that won't work as an
  27. >:  >    application itself, all I want it to do is clear the stdscr 
  28. >:  >    window to a blue background.
  29. >
  30. >: This is a question for the ncurses mailing list.
  31. >: -- 
  32. >Oh dear, here we go again.  This question is a valid question for
  33. >comp.lang.c.
  34.  
  35. No, it isn't.
  36.  
  37. > The question is equally valid if Marcus was asking the
  38. >same question and was using the supplied curses on Solaris or was
  39. >using PDCurses under DOS or OS/2.
  40.  
  41. The question is probably relevant on any platform for which you can find an
  42. implementation of Curses. Curses is available on many platforms however that
  43. does *not* make it a part of the C language.
  44.  
  45. > curses is a C library,
  46.  
  47. Curses is a library with a C call interface but it is not a standard C
  48. library. It shares that status with POSIX.1, various other System APIs
  49. (DOS, Windows, Unix etc.) and 3rd party libraries (e.g. C-ISAM or graphics
  50. libraries). None of these things are defined by the C language hence have
  51. any relevance to comp.lang.c.
  52.  
  53. >hence it
  54. >should be discussed here, just like questions about signal() or other
  55. >C funcion calls.
  56.  
  57. signal() is defined by the C language. However the set of signals defined
  58. is rather limited so, for instance, comp.lang.c is not suitable for
  59. discussing SIGALRM. The 'C function calls' that are relevant are those
  60. that are well defined by C i.e. main(), the standard library functions
  61. and functions whose code is posted, or the bahaviour of which is described
  62. fully in the posting.
  63.  
  64. I don't expect people to know whether their question is relevant to
  65. comp.lang.c in all cases (although having read the FAQ and the newsgroup
  66. they should generally have a good idea). It is blatent disregard for the
  67. newsgroup subject that is annoying.
  68.  
  69. -- 
  70. -----------------------------------------
  71. Lawrence Kirby | fred@genesis.demon.co.uk
  72. Wilts, England | 70734.126@compuserve.com
  73. -----------------------------------------
  74.